<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<style type="text/css">
		#d{
			width: 100px;
			height: 100px;
			background-color: red;
			position: absolute;
			transition: ran 2s linear infinite;
		}
		@keyframes ran{
			form{
				left: 100px;
			}
			to{
				left: 200px;
			}
		}
	</style>
</head>
<body>
	<div id="d">asdf</div>
</body>
</html>